home *** CD-ROM | disk | FTP | other *** search
- Path: ix.netcom.com!netnews
- From: mlwillia@ix.netcom.com (Michael Williams)
- Newsgroups: comp.lang.c
- Subject: ???unresolved external???
- Date: Sat, 27 Jan 1996 17:16:54 GMT
- Organization: Netcom
- Message-ID: <4edmnn$m53@reader2.ix.netcom.com>
- NNTP-Posting-Host: ix-gra3-09.ix.netcom.com
- X-NETCOM-Date: Sat Jan 27 9:17:49 AM PST 1996
- X-Newsreader: Forte Agent .99b.112
-
- Although this question may appear to be easy, I dont think it is. ( At
- least it is not becuase I haven't tried to link in the appropriate
- library.)
-
- Here's my problem:
-
- I'm trying to write a small Windows DLL using some functions in a
- library I received from a vendor. Apparently this library has only
- been used for DOS programs and was written back in 1992 sometime.
- When I try to compile the DLL (using Microsoft Visual C++ v1.52), I
- keep getting an "unresolved external' for the function in the library.
-
- I'm using the exact syntax out of the header file. I can even get a
- DOS executable to compile using the library. My questions are:
-
- 1. Is it possilble to create a DOS-only Library?
-
- 2. Assuming the above IS NOT true, are there certain flags I need to
- set in order to access this funciton? (I've tried changing the
- calling convention to PASCAL - no luck.)
-
- 3. Is there a program somewhere that will let me look at how a
- function is defined in a LIB file?
-
- Thanks for any help!!!!
-
- Mike Williams
- mlwillia@ix.netcom.com
-
-